#!/usr/bin/env node

const user ='zhangjiayi',
  pwd = '123456';

const user_pwd=`${user}:${pwd}`;

//console.log(user_pwd);
const buf=Buffer.from(user_pwd);
console.log(buf.toString('base64'));
